<%@include file="/jsp/init.jspf" %>
<layout:top/>

<h1  class="pagetitle">Generic Type</h1>

<fieldset class="seventy marginThirty">
    <legend>Add Type</legend>
    <s:form action="addGenericTypeAction" method="post">
        <s:textfield id="type" name="type" label="Type"/>
        <s:submit name="submit" cssClass="tableHeading" />
    </s:form>
</fieldset>

<fieldset class="seventy marginThirty">
    <legend>Add Code</legend>
    <s:form action="addUpdateGenericCode" method="post">
        <s:hidden name="codeId"/>
        <s:textfield id="value" name="value" label="Value"/>
        <s:textfield id="desc" name="desc" label="Desc"/>
        <s:select list="genericTypeList" listKey="id" listValue="desc" name="typeId" value="typeId" label="Type"/>
        <s:submit name="submit" cssClass="tableHeading" />
    </s:form>
</fieldset>

<layout:bottom/>
